package com.example.webcomen.Model;

import lombok.Data;

import java.sql.Timestamp;

@Data
public class AddMessageInfo {
    private Integer fromUid;
    private Integer toUid;
    private Integer groupId;
    private Integer type;
    private Timestamp time;
    private String remark;

    public AddMessageInfo(Integer fromUid, Integer toUid, Integer groupId, Integer type, Timestamp time, String remark) {
        this.fromUid = fromUid;
        this.toUid = toUid;
        this.groupId = groupId;
        this.type = type;
        this.time = time;
        this.remark = remark;
    }
}
